<?php

namespace app\models;

use Yii;
use yii\base\Model;

/**
 * TuijianForm is the model behind the form.
 */
class SeventuijianForm extends Model
{
    public $one_rate;
    public $two_rate;
    public $three_rate;
    public $four_rate;
    public $five_rate;
    public $six_rate;
    public $seven_rate;

    /**
     * @return array the validation rules.
     */
    public function rules()
    {
        return [
            [['one_rate','two_rate','three_rate','four_rate','five_rate','six_rate','seven_rate'], 'required'],
        ];
    }

    /**
     * @return array customized attribute labels
     */
     public function attributeLabels()
     {
         return [
             'one_rate' => '一代推荐奖值比例',
             'two_rate' => '二代推荐奖值比例',
             'three_rate' => '三代推荐奖值比例',
             'four_rate' => '四代推荐奖值比例',
             'five_rate' => '五代推荐奖值比例',
             'six_rate' => '六代推荐奖值比例',
             'seven_rate' => '七代推荐奖值比例'
         ];
     }

}
